<?php
require_once 'inc/fbapp.php';

switch($_GET['view']){
  case 'track':
    switch($_GET['action']){
      case 'add':
        require_once 'views/track/add/index.php';
      break;
      case 'listen':
        if($_GET['tid'])
          require_once 'views/track/listen/index.php';
        //else display hompage
      break;
    }
  break;	
}

?>